let table  = [];

/*
{
  isSynchronized

  [
    {
      project:{
        info,
      },
      trusty:{
        isSynchronized
        list:[]
      },
      drawing:{
        list:[{
          objectName
        }],
        isSynchronized
      },
      offer:{
        list,
        isSynchronized
      },
      contact:{
        list,
        isSynchronized
      },
      log:{
        list:[{
          type,
          content
        }],
        isSynchronized
      }
    }
  ]
}
*/


export default function ProjectTable(){
  this.isSynchronized  = false;
  this.projectInfos  = [];
  this.projectDetailMap  = new Map();
}

ProjectTable.prototype.constructor  = ProjectTable;

/**
 * @brief
 */
ProjectTable.prototype.hasSynchronized  = function(){
  return this.isSynchronized;
}


/**
 *
 */
 ProjectTable.prototype.setProjectInfos  = function(infos){
   this.projectInfos  = infos;
   this.isSynchronized  = true;
 }
